package common.message.clientSend;

import common.message.*;
import common.types.GenderType;

public class UpdateProfileMsg extends Message{
	
	private static final long serialVersionUID = -8421950704317099038L;
	
	private String newName;
	private GenderType newGender;
	private int newAge;
	
	public UpdateProfileMsg(int uid, String name, GenderType gender, int age) {
		super(getUserFlag() + Integer.toString(uid), getServerFlag());
		newName = name;
		newGender = gender;
		newAge = age;
	}
	
	public String getName() { return newName; }
	public GenderType getGender() { return newGender; }
	public int getAge() { return newAge; }
	
}
